home *** CD-ROM | disk | FTP | other *** search
- on MouseClick
- global gLocLabel, gLabel, gEtudAct
- set gLocLabel to "SU:OU" && gEtudAct
- set gLabel to "SU:IN GE"
- curseur(6)
- end
-
- on mouseDown
- global gNumSpr, g1erSprLoc, gBoutons, gEtudAct
- if (gEtudAct = "EN") or (gEtudAct = "HI") then
- set gNumSpr to g1erSprLoc + 6
- else
- if gEtudAct = "ST" then
- set gNumSpr to g1erSprLoc
- else
- set gNumSpr to g1erSprLoc + 10
- end if
- end if
- gBoutons(appuie, gNumSpr)
- end
-
- on mouseUp
- global gNumSpr, g1erSprLoc, gEtudAct
- curseur(1)
- if (gEtudAct = "EN") or (gEtudAct = "HI") then
- set monNumSpr to g1erSprLoc + 6
- else
- if gEtudAct = "ST" then
- set monNumSpr to g1erSprLoc
- else
- set monNumSpr to g1erSprLoc + 10
- end if
- end if
- if gNumSpr = monNumSpr then
- MouseClick()
- else
- pass()
- end if
- end
-